.class public Lcom/uucun/adsdk/c/l;
.super Landroid/os/AsyncTask;


# static fields
.field public static final a:Ljava/lang/String;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field private d:Landroid/app/Notification;

.field private e:Landroid/content/Context;

.field private f:Landroid/app/NotificationManager;

.field private g:J

.field private h:J

.field private i:J

.field private j:Ljava/lang/String;

.field private k:Ljava/lang/String;

.field private l:I

.field private m:Lcom/uucun/adsdk/d/f;

.field private n:Ljava/io/File;

.field private o:Ljava/io/File;

.field private p:Landroid/app/PendingIntent;

.field private q:Ljava/lang/StringBuffer;

.field private r:Ljava/lang/String;

.field private s:Ljava/lang/String;

.field private t:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const-class v0, Lcom/uucun/adsdk/c/l;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/uucun/adsdk/c/l;->a:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/os/Handler;Lcom/uucun/adsdk/d/f;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 5

    const v4, 0x186a0

    const-wide/16 v2, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    iput-wide v2, p0, Lcom/uucun/adsdk/c/l;->g:J

    iput-wide v2, p0, Lcom/uucun/adsdk/c/l;->h:J

    iput-wide v2, p0, Lcom/uucun/adsdk/c/l;->i:J

    iput-object v1, p0, Lcom/uucun/adsdk/c/l;->p:Landroid/app/PendingIntent;

    iput-object v1, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuffer;

    invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->q:Ljava/lang/StringBuffer;

    iput-object v1, p0, Lcom/uucun/adsdk/c/l;->c:Ljava/lang/String;

    iput-object v1, p0, Lcom/uucun/adsdk/c/l;->r:Ljava/lang/String;

    iput-object v1, p0, Lcom/uucun/adsdk/c/l;->s:Ljava/lang/String;

    iput-object v1, p0, Lcom/uucun/adsdk/c/l;->t:Ljava/lang/String;

    iput-object p1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iput-object p3, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iput-object p5, p0, Lcom/uucun/adsdk/c/l;->r:Ljava/lang/String;

    iput-object p6, p0, Lcom/uucun/adsdk/c/l;->s:Ljava/lang/String;

    iput-object p7, p0, Lcom/uucun/adsdk/c/l;->t:Ljava/lang/String;

    const-string v0, "notification"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->f:Landroid/app/NotificationManager;

    invoke-static {p1}, Lcom/uucun/adsdk/b/c;->a(Landroid/content/Context;)Ljava/io/File;

    move-result-object v0

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->n:Ljava/io/File;

    :try_start_0
    invoke-static {p4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    add-int/2addr v0, v4

    iput v0, p0, Lcom/uucun/adsdk/c/l;->l:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iput-object p4, p0, Lcom/uucun/adsdk/c/l;->c:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/uucun/adsdk/c/l;->a()V

    return-void

    :catch_0
    move-exception v0

    iput v4, p0, Lcom/uucun/adsdk/c/l;->l:I

    goto :goto_0
.end method

.method private a(Lcom/uucun/adsdk/d/f;)Ljava/lang/Integer;
    .locals 14

    const/4 v5, 0x0

    const/4 v12, 0x1

    const/4 v11, 0x2

    :try_start_0
    new-instance v0, Ljava/net/URL;

    iget-object v1, p1, Lcom/uucun/adsdk/d/f;->b:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    invoke-static {v1}, Lcom/uucun/adsdk/b/j;->c(Landroid/content/Context;)Ljava/net/Proxy;

    move-result-object v1

    if-eqz v1, :cond_2

    invoke-virtual {v0, v1}, Ljava/net/URL;->openConnection(Ljava/net/Proxy;)Ljava/net/URLConnection;

    move-result-object v0

    check-cast v0, Ljava/net/HttpURLConnection;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2

    :goto_0
    :try_start_1
    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-virtual {v1}, Ljava/io/File;->length()J

    move-result-wide v1

    :goto_1
    iput-wide v1, p0, Lcom/uucun/adsdk/c/l;->g:J

    const-string v1, "Range"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "bytes="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-wide v3, p0, Lcom/uucun/adsdk/c/l;->g:J

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "User-Agent"

    const-string v2, "Appjoy SDK Downloader 1.0.0"

    invoke-virtual {v0, v1, v2}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->connect()V

    iget-wide v1, p0, Lcom/uucun/adsdk/c/l;->g:J

    iput-wide v1, p0, Lcom/uucun/adsdk/c/l;->h:J

    sget-object v1, Lcom/uucun/adsdk/c/l;->a:Ljava/lang/String;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Old Position:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-wide v3, p0, Lcom/uucun/adsdk/c/l;->g:J

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/uucun/adsdk/b/h;->c(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getResponseCode()I

    move-result v1

    const/16 v2, 0xc8

    if-eq v1, v2, :cond_4

    const/16 v2, 0xce

    if-eq v1, v2, :cond_4

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V

    const/4 v1, 0x2

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3

    move-result-object v1

    invoke-static {v5}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    invoke-static {v5}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V

    :cond_0
    move-object v0, v1

    :cond_1
    :goto_2
    return-object v0

    :cond_2
    :try_start_2
    invoke-virtual {v0}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;

    move-result-object v0

    check-cast v0, Ljava/net/HttpURLConnection;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2

    goto :goto_0

    :cond_3
    const-wide/16 v1, 0x0

    goto :goto_1

    :cond_4
    :try_start_3
    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream;
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3

    move-result-object v1

    if-nez v1, :cond_6

    const/4 v2, 0x2

    :try_start_4
    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_2
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1

    move-result-object v2

    invoke-static {v5}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    invoke-static {v1}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    if-eqz v0, :cond_5

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V

    :cond_5
    move-object v0, v2

    goto :goto_2

    :cond_6
    :try_start_5
    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->n:Ljava/io/File;

    invoke-virtual {v2}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v2

    const-string v3, "/data"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_7

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v3, p0, Lcom/uucun/adsdk/c/l;->k:Ljava/lang/String;

    const v4, 0x8003

    invoke-virtual {v2, v3, v4}, Landroid/content/Context;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_2
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_1

    move-result-object v2

    :goto_3
    const/high16 v3, 0x20

    :try_start_6
    new-array v3, v3, [B

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getContentLength()I

    move-result v4

    int-to-long v4, v4

    iput-wide v4, p0, Lcom/uucun/adsdk/c/l;->i:J

    :goto_4
    invoke-virtual {v1, v3}, Ljava/io/InputStream;->read([B)I

    move-result v4

    const/4 v5, -0x1

    if-eq v4, v5, :cond_8

    const/4 v5, 0x0

    invoke-virtual {v2, v3, v5, v4}, Ljava/io/OutputStream;->write([BII)V

    iget-wide v5, p0, Lcom/uucun/adsdk/c/l;->h:J

    int-to-long v7, v4

    add-long v4, v5, v7

    iput-wide v4, p0, Lcom/uucun/adsdk/c/l;->h:J

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Integer;

    const/4 v5, 0x0

    iget-wide v6, p0, Lcom/uucun/adsdk/c/l;->h:J

    long-to-float v6, v6

    iget-wide v7, p0, Lcom/uucun/adsdk/c/l;->i:J

    iget-wide v9, p0, Lcom/uucun/adsdk/c/l;->g:J

    add-long/2addr v7, v9

    long-to-float v7, v7

    div-float/2addr v6, v7

    const/high16 v7, 0x42c8

    mul-float/2addr v6, v7

    float-to-int v6, v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    aput-object v6, v4, v5

    invoke-virtual {p0, v4}, Lcom/uucun/adsdk/c/l;->publishProgress([Ljava/lang/Object;)V

    invoke-virtual {v2}, Ljava/io/OutputStream;->flush()V
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_3
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_0

    goto :goto_4

    :catch_0
    move-exception v3

    move-object v13, v3

    move-object v3, v1

    move-object v1, v0

    move-object v0, v13

    :goto_5
    :try_start_7
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    const/4 v0, 0x2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_4

    move-result-object v0

    invoke-static {v2}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    invoke-static {v3}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    if-eqz v1, :cond_1

    invoke-virtual {v1}, Ljava/net/HttpURLConnection;->disconnect()V

    goto/16 :goto_2

    :cond_7
    :try_start_8
    new-instance v2, Ljava/io/FileOutputStream;

    iget-object v3, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    const/4 v4, 0x1

    invoke-direct {v2, v3, v4}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_2
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_1

    goto :goto_3

    :catch_1
    move-exception v2

    move-object v3, v1

    move-object v1, v0

    move-object v0, v2

    move-object v2, v5

    goto :goto_5

    :cond_8
    :try_start_9
    invoke-virtual {v2}, Ljava/io/OutputStream;->flush()V
    :try_end_9
    .catchall {:try_start_9 .. :try_end_9} :catchall_3
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_0

    invoke-static {v2}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    invoke-static {v1}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    if-eqz v0, :cond_9

    invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V

    :cond_9
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-direct {p0, v0, v1}, Lcom/uucun/adsdk/c/l;->a(Landroid/content/Context;Ljava/io/File;)Z

    move-result v0

    if-eqz v0, :cond_b

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    goto/16 :goto_2

    :catchall_0
    move-exception v0

    move-object v1, v5

    move-object v2, v5

    move-object v3, v5

    :goto_6
    invoke-static {v2}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    invoke-static {v3}, Lcom/uucun/adsdk/b/c;->a(Ljava/io/Closeable;)V

    if-eqz v1, :cond_a

    invoke-virtual {v1}, Ljava/net/HttpURLConnection;->disconnect()V

    :cond_a
    throw v0

    :cond_b
    invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    goto/16 :goto_2

    :catchall_1
    move-exception v1

    move-object v2, v5

    move-object v3, v5

    move-object v13, v1

    move-object v1, v0

    move-object v0, v13

    goto :goto_6

    :catchall_2
    move-exception v2

    move-object v3, v1

    move-object v1, v0

    move-object v0, v2

    move-object v2, v5

    goto :goto_6

    :catchall_3
    move-exception v3

    move-object v13, v3

    move-object v3, v1

    move-object v1, v0

    move-object v0, v13

    goto :goto_6

    :catchall_4
    move-exception v0

    goto :goto_6

    :catch_2
    move-exception v0

    move-object v1, v5

    move-object v2, v5

    move-object v3, v5

    goto :goto_5

    :catch_3
    move-exception v1

    move-object v2, v5

    move-object v3, v5

    move-object v13, v1

    move-object v1, v0

    move-object v0, v13

    goto :goto_5
.end method

.method private a(Ljava/lang/String;)V
    .locals 5

    sget-object v0, Lcom/uucun/adsdk/c/l;->a:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "AdDownloadTask.regeditAction()  "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/h;->b(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/uucun/adsdk/e/a;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->t:Ljava/lang/String;

    invoke-direct {v0, v1, p1, v2}, Lcom/uucun/adsdk/e/a;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/String;

    const/4 v3, 0x0

    const-string v4, "android.intent.action.PACKAGE_REMOVED"

    aput-object v4, v2, v3

    const/4 v3, 0x1

    const-string v4, "android.intent.action.PACKAGE_ADDED"

    aput-object v4, v2, v3

    invoke-static {v1, v0, v2}, Lcom/uucun/adsdk/b/c;->a(Landroid/content/Context;Landroid/content/BroadcastReceiver;[Ljava/lang/String;)Landroid/content/Intent;

    return-void
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 6

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    iput-object p1, v0, Landroid/app/Notification;->tickerText:Ljava/lang/CharSequence;

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    const v1, 0x1080082

    iput v1, v0, Landroid/app/Notification;->icon:I

    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-static {v1}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v1

    const-string v2, "application/vnd.android.package-archive"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    const/4 v2, 0x0

    const/high16 v3, 0x800

    invoke-static {v1, v2, v0, v3}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    const/16 v2, 0x10

    iput v2, v1, Landroid/app/Notification;->flags:I

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v3, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\u4e0b\u8f7d\u5b8c\u6210."

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v2, v3, v4, v0}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V

    :goto_0
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->f:Landroid/app/NotificationManager;

    iget v1, p0, Lcom/uucun/adsdk/c/l;->l:I

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    invoke-virtual {v0, v1, v2}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    iget-object v3, p0, Lcom/uucun/adsdk/c/l;->p:Landroid/app/PendingIntent;

    invoke-virtual {v0, v1, v2, p1, v3}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V

    goto :goto_0
.end method

.method private a(Landroid/content/Context;Ljava/io/File;)Z
    .locals 2

    const/4 v1, 0x0

    invoke-virtual {p2}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_0

    move v0, v1

    :goto_0
    return v0

    :cond_0
    invoke-virtual {p2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/uucun/adsdk/b/c;->e(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    invoke-virtual {p2}, Ljava/io/File;->delete()Z

    move v0, v1

    goto :goto_0

    :cond_2
    const/4 v0, 0x1

    goto :goto_0
.end method


# virtual methods
.method protected varargs a([Ljava/lang/Void;)Ljava/lang/Integer;
    .locals 3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget-object v1, v1, Lcom/uucun/adsdk/d/f;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "_"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget v1, v1, Lcom/uucun/adsdk/d/f;->e:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ".apk"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->k:Ljava/lang/String;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget-object v0, v0, Lcom/uucun/adsdk/d/f;->c:Ljava/lang/String;

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "\u51c6\u5907\u4e0b\u8f7d..."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/uucun/adsdk/c/l;->a(Ljava/lang/String;Z)V

    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->n:Ljava/io/File;

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->k:Ljava/lang/String;

    invoke-direct {v0, v1, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-direct {p0, v0, v1}, Lcom/uucun/adsdk/c/l;->a(Landroid/content/Context;Ljava/io/File;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x3

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    invoke-direct {p0, v0}, Lcom/uucun/adsdk/c/l;->a(Lcom/uucun/adsdk/d/f;)Ljava/lang/Integer;

    move-result-object v0

    goto :goto_0
.end method

.method public a()V
    .locals 5

    new-instance v0, Landroid/app/Notification;

    invoke-direct {v0}, Landroid/app/Notification;-><init>()V

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    const v1, 0x1080081

    iput v1, v0, Landroid/app/Notification;->icon:I

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    const/4 v2, 0x0

    const/high16 v3, 0x800

    invoke-static {v1, v2, v0, v3}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->p:Landroid/app/PendingIntent;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    const-string v3, "\u51c6\u5907\u4e0b\u8f7d...0%"

    iget-object v4, p0, Lcom/uucun/adsdk/c/l;->p:Landroid/app/PendingIntent;

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V

    return-void
.end method

.method public a(Ljava/lang/Integer;)V
    .locals 4

    const/4 v2, 0x0

    const/4 v3, 0x1

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-ne v3, v0, :cond_5

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/c;->e(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    const-string v0, "Old PackageName:"

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget-object v1, v1, Lcom/uucun/adsdk/d/f;->a:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/h;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "PackageName In Apk:"

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/h;->b(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    :cond_0
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget-object v0, v0, Lcom/uucun/adsdk/d/f;->a:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget-object v0, v0, Lcom/uucun/adsdk/d/f;->a:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->f:Landroid/app/NotificationManager;

    iget v1, p0, Lcom/uucun/adsdk/c/l;->l:I

    invoke-virtual {v0, v1}, Landroid/app/NotificationManager;->cancel(I)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\u6587\u4ef6\u51fa\u9519,\u8bf7\u91cd\u8bd5."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    invoke-static {v0, v1}, Lcom/uucun/adsdk/UUAppConnect;->showToast(Ljava/lang/String;Landroid/content/Context;)V

    invoke-static {}, Lcom/uucun/adsdk/a/b;->a()Lcom/uucun/adsdk/a/b;

    move-result-object v0

    invoke-virtual {v0, p0, v2}, Lcom/uucun/adsdk/a/b;->a(Lcom/uucun/adsdk/c/l;Z)V

    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget-object v0, v0, Lcom/uucun/adsdk/d/f;->a:Ljava/lang/String;

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    :cond_3
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    iput-object v1, v0, Lcom/uucun/adsdk/d/f;->a:Ljava/lang/String;

    const-string v0, "0"

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/c;->d(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string v0, "1"

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->t:Ljava/lang/String;

    :cond_4
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    invoke-static {v0}, Lcom/uucun/adsdk/b/a;->a(Landroid/content/Context;)Lcom/uucun/adsdk/b/a;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "_process_num"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->r:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/uucun/adsdk/b/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "_from_"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->r:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->s:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/uucun/adsdk/b/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "_points"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->m:Lcom/uucun/adsdk/d/f;

    iget v2, v2, Lcom/uucun/adsdk/d/f;->d:I

    invoke-virtual {v0, v1, v2}, Lcom/uucun/adsdk/b/a;->a(Ljava/lang/String;I)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "_adid"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->c:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/uucun/adsdk/b/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/uucun/adsdk/b/a;->a()V

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/c;->a(Landroid/content/Context;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->b:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/uucun/adsdk/c/l;->a(Ljava/lang/String;)V

    invoke-static {}, Lcom/uucun/adsdk/a/b;->a()Lcom/uucun/adsdk/a/b;

    move-result-object v0

    invoke-virtual {v0, p0, v3}, Lcom/uucun/adsdk/a/b;->a(Lcom/uucun/adsdk/c/l;Z)V

    goto/16 :goto_0

    :cond_5
    const/4 v0, 0x2

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    if-ne v0, v1, :cond_7

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->f:Landroid/app/NotificationManager;

    iget v1, p0, Lcom/uucun/adsdk/c/l;->l:I

    invoke-virtual {v0, v1}, Landroid/app/NotificationManager;->cancel(I)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\u5931\u8d25,\u8bf7\u91cd\u8bd5."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    invoke-static {v0, v1}, Lcom/uucun/adsdk/UUAppConnect;->showToast(Ljava/lang/String;Landroid/content/Context;)V

    sget-object v0, Lcom/uucun/adsdk/c/l;->a:Ljava/lang/String;

    const-string v1, "\u4e0b\u8f7d\u5931\u8d25"

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/h;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_6
    :goto_1
    invoke-static {}, Lcom/uucun/adsdk/a/b;->a()Lcom/uucun/adsdk/a/b;

    move-result-object v0

    invoke-virtual {v0, p0, v2}, Lcom/uucun/adsdk/a/b;->a(Lcom/uucun/adsdk/c/l;Z)V

    goto/16 :goto_0

    :cond_7
    const/4 v0, 0x3

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    if-ne v0, v1, :cond_6

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->q:Ljava/lang/StringBuffer;

    const/16 v1, 0x64

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(I)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string v1, "%"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string v1, " \u5df2\u4e0b\u8f7d."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->q:Ljava/lang/StringBuffer;

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0, v3}, Lcom/uucun/adsdk/c/l;->a(Ljava/lang/String;Z)V

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->o:Ljava/io/File;

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/uucun/adsdk/b/c;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_1
.end method

.method public varargs a([Ljava/lang/Integer;)V
    .locals 4

    const/4 v3, 0x0

    aget-object v0, p1, v3

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    rem-int/lit8 v0, v0, 0x2

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->q:Ljava/lang/StringBuffer;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->q:Ljava/lang/StringBuffer;

    invoke-virtual {v1}, Ljava/lang/StringBuffer;->length()I

    move-result v1

    invoke-virtual {v0, v3, v1}, Ljava/lang/StringBuffer;->delete(II)Ljava/lang/StringBuffer;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->q:Ljava/lang/StringBuffer;

    aget-object v1, p1, v3

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/Object;)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string v1, "%"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string v1, " \u5df2\u4e0b\u8f7d."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->q:Ljava/lang/StringBuffer;

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    aget-object v1, p1, v3

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    const/16 v2, 0x64

    if-lt v1, v2, :cond_1

    const/4 v1, 0x1

    :goto_1
    invoke-direct {p0, v0, v1}, Lcom/uucun/adsdk/c/l;->a(Ljava/lang/String;Z)V

    goto :goto_0

    :cond_1
    move v1, v3

    goto :goto_1
.end method

.method public b()V
    .locals 5

    new-instance v0, Landroid/app/Notification;

    invoke-direct {v0}, Landroid/app/Notification;-><init>()V

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    const v1, 0x1080081

    iput v1, v0, Landroid/app/Notification;->icon:I

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    const/4 v2, 0x0

    const/high16 v3, 0x800

    invoke-static {v1, v2, v0, v3}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    iput-object v0, p0, Lcom/uucun/adsdk/c/l;->p:Landroid/app/PendingIntent;

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    iget-object v1, p0, Lcom/uucun/adsdk/c/l;->e:Landroid/content/Context;

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->j:Ljava/lang/String;

    const-string v3, "\u6b63\u5728\u6392\u961f\u4e0b\u8f7d..."

    iget-object v4, p0, Lcom/uucun/adsdk/c/l;->p:Landroid/app/PendingIntent;

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V

    iget-object v0, p0, Lcom/uucun/adsdk/c/l;->f:Landroid/app/NotificationManager;

    iget v1, p0, Lcom/uucun/adsdk/c/l;->l:I

    iget-object v2, p0, Lcom/uucun/adsdk/c/l;->d:Landroid/app/Notification;

    invoke-virtual {v0, v1, v2}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    return-void
.end method

.method protected bridge synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1

    check-cast p1, [Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/uucun/adsdk/c/l;->a([Ljava/lang/Void;)Ljava/lang/Integer;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0

    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p0, p1}, Lcom/uucun/adsdk/c/l;->a(Ljava/lang/Integer;)V

    return-void
.end method

.method public bridge synthetic onProgressUpdate([Ljava/lang/Object;)V
    .locals 0

    check-cast p1, [Ljava/lang/Integer;

    invoke-virtual {p0, p1}, Lcom/uucun/adsdk/c/l;->a([Ljava/lang/Integer;)V

    return-void
.end method
